package nus.mtech.subscription;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 */

/**
 * @author Chew Xunmao
 * 
 */
public class Subscription implements Serializable {
	private static final long serialVersionUID = -3143559232114884607L;
	
	private Date startDate;
	private Date endDate;
	private boolean status;

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public Subscription(Date startDate, Date endDate, boolean activeStatus) {
		this.startDate = startDate;
		this.endDate = endDate;
		this.status = activeStatus;
	}

	public Date getStartDate() {
		return startDate;
	}

	public boolean getStatus() {
		return status;
	}

	public Date getEndDate() {
		return endDate;
	}

}
